2000 GOSUB 550: VTAB 8: PRINT "ATTENTION, ALL INVESTIGATING OFFICERS,": VTAB 12: IF S2% = 3 THEN 2007
2001 IF CA = 4 THEN 2010
2002 IF CA = 10 THEN 5000
2003 IF CA = 11 THEN 5010
2005 IF CA = 12 THEN 5030
2006 RETURN
2007 S2% = 2:T$ = "F.B.I.": IF CA = 2 THEN T$ = "ARMY."
2008 PRINT "WE HAVE JUST RECEIVED A TELEX FROM": PRINT "THE "T$" ANYONE INTERESTED SHOULD": PRINT "RETURN TO THE POLICE STATION (I).": GOTO 3000
2010 PRINT "MISS CONNIE CAMERON HAS CALLED THE": PRINT "STATION CLAIMING TO HAVE IMPORTANT": PRINT "INFORMATION REGARDING THE MURDER OF": PRINT "FRANK FINGER. SHE CAN BE FOUND WORKING"
2012 PRINT "AT SPEED CHECK GROCERY (F). CHECK THIS": PRINT "OUT AT YOUR OWN DISCRETION."
4000 GOSUB 550: VTAB 12: PRINT "ATTENTION, OFFICER "PL$(PN)",": PRINT : PRINT "PLEASE SEE SGT. HASKILL AT THE": PRINT "STATION HOUSE (I)": GOTO 3000
5000 PRINT "THE MAN WHO KILLED ROBERT O'NEIL HAS": PRINT "JUST TURNED HIMSELF IN AT THE STATION": PRINT "HOUSE. YOU MAY EITHER COME BACK, OR": PRINT "CONTINUE YOUR INVESTIGATION.": PRINT "PLEASE NOTE, HOWEVER, IF YOU SOLVE THE"
5002 PRINT "CASE NOW, IT DOESN'T REFLECT VERY": PRINT "WELL ON YOUR ABILITIES.": GOTO 3000
5010 PRINT "MRS. BARBARA HOROWITZ OF 591 STATION": PRINT "DRIVE (O) JUST CALLED THE STATION": PRINT "HOUSE. SHE SAID SHE'D JUST HEARD ABOUT": PRINT "DANIEL ROTHSTADT BEING KIDNAPPED AND": PRINT "SHE MIGHT HAVE SOME INFORMATION THAT"
5012 PRINT "COULD HELP OUR INVESTIGATION.": GOTO 3000
5020 G$ = "Y": SPEED= 100: VTAB 10: IF PT(PN) > = 1266 THEN 5024
5023 PRINT " YOU HAVE FOUND DANIEL ROTHSTADT": PRINT " ALIVE AND WELL. YOU HAVE ALSO": PRINT " CAPTURED NED CRACCHIOLO.": GOTO 5026
5024 HTAB 8: PRINT "YOU HAVE ARRIVED TOO LATE.": PRINT : HTAB 14: PRINT "DANIEL IS DEAD.": PRINT : HTAB 3: PRINT "DEBBIE AND NED CRACCHIOLO ARE GONE.":G$ = "N"
5026 GOSUB 12912: SPEED= 255: GOTO 12260
5030 PRINT "THE N.Y.C. BOMB SQUAD DOGS HAVE JUST": PRINT "ARRIVED. ANY OFFICER WISHING TO USE A": PRINT "DOG MAY COME TO THE STATION HOUSE AND": PRINT "PICK UP A DOG AND HIS HANDLER.": GOTO 3000
5040 PN = 0: SPEED= 100:G$ = "Y": FOR I = 1 TO PT: IF PW%(I) > = 3 THEN XZ = 4:PN = I:IP = IP +1
5042 NEXT : IF XZ = 4 THEN 5050
5044 HTAB 5: PRINT "YOU'RE TOO LATE. THE BOMBS HAVE": HTAB 5: PRINT "ALREADY GONE OFF. THE F.B.I. HAS": HTAB 5: PRINT "TAKEN OVER THE CASE AND YOU ARE": HTAB 5: PRINT "NOW DOING PAPER ASSIGNMENTS.":G$ = "N": GOTO 5026
5050 HTAB 6: PRINT "CONGRATULATIONS! YOU'VE DEFUSED": HTAB 6: PRINT "ALL THE BOMBS. YOU HAVE ALSO": HTAB 6: PRINT "BEEN APPOINTED HUXLEY'S NEW": HTAB 6: PRINT "ASSISTANT CHIEF OF POLICE.": GOTO 5026
9999 STOP : END
10040 GOSUB 12900: PRINT D$"CLOSE": GET G$: GOTO 41
10100 TMI = PT(1):PN = 1: IF PT = 1 THEN RETURN
10102 FOR I = 2 TO PT: IF PT(I) >1439 THEN 10111
10106 IF PT(I) <TMI THEN TMI = PT(I):PN = I
10111 NEXT I: RETURN
10120 GOSUB 12270: GOSUB 3000
10121 GOSUB 550: VTAB 3: HTAB 2: PRINT "YOUR TIME AND LUCK HAVE JUST RUN OUT!"
10580 FOR I = 1 TO 6: VTAB V1: HTAB H1: INPUT A$:CH%(I) = VAL( LEFT$(A$,1)):CD$(I) = RIGHT$(A$, LEN(A$) -1): NEXT I: PRINT D$"CLOSE"
10582 FOR I = 1 TO 6: IF CH%(I) = 6 OR CH%(I) <2 THEN 10600
10590 I = 7: NEXT : RETURN
10600 L = LEN(CD$(I)):LL = INT(L *.3)
10602 FOR K = L -3 TO LL STEP -1: IF MID$ (CD$(I),K,1) = CHR$(45) THEN CD$(I) = LEFT$(CD$(I),K -1) +", " + RIGHT$(CD$(I),L -K):K = 1
10610 NEXT : NEXT : RETURN
10800 I0 = 1: REM N-LOC
10801 T = 4: GOSUB 12997: VTAB 22: HTAB 5: PRINT "WOULD YOU LIKE TO SEE THE MAP?":HT = 27: HTAB 13: GOSUB 12950: IF G$ < >"Y" THEN :I0 = 22: GOTO 10809
10805 I0 = 1: GOSUB 540
10808 IF I0 = 1 THEN T = 2: GOSUB 12998: GOTO 10810
10809 T = 3: GOSUB 12997
10810 VTAB I0: HTAB 3: PRINT "ENTER THE LETTER OF YOUR DESTINATION;": HTAB 9: PRINT RK$;: PRINT SPC( 11);:HT = 29: GOSUB 26:NL$ = T$
10830 IF LEN(NL$) >1 AND NL$ < >"AA" AND NL$ < >"BB" THEN GOSUB 50: GOTO 10810
10840 IF NL$ = "AA" THEN NL = 27: GOTO 10870
10841 IF NL$ = "BB" THEN NL = 28: GOTO 10870
10850 NL = ASC(NL$) -64
10855 IF NL <1 OR NL >26 THEN GOSUB 50: GOTO 10809
10870 GOSUB 41:T = 4: IF I0 = 1 THEN T = 2: GOSUB 12998: GOTO 10875
10871 GOSUB 12997
10875 VTAB I0:T$ = RIGHT$(LT$(NL), LEN(LT$(NL)) -2): GOSUB 12940: VTAB I0 +1: HTAB 6: PRINT "IS THAT RIGHT? ";:HT = 35: GOSUB 12950: IF G$ < >"Y" THEN GOTO 10808
10900 W1 = PL(PN):W2 = NL: IF W1 = W2 THEN RETURN
10910 IF W1 <W2 THEN W3 = W1:W1 = W2:W2 = W3
10940 T = 0: FOR J = 0 TO W1 -2:T = T +J: NEXT :TI = 2050 +T +W2 -1:TI = PEEK(TI):T = INT((TI -1)/5) +1
10950 K = TI + INT( RND(T) *T +.5):CC = 1:PL(PN) = NL: GOTO 1085
11000 REM FRMTCLU
11005 CX$ = "":CC = 0:PA% = PQ%(PN):PB% = PW%(PN)
11006 IF CF$ = "99,99" THEN CC = 2:CX$ = CF$: GOTO 11082
11008 LH = LEN(CF$): IF LH = 3 THEN CC = 1:CX$ = CF$: GOTO 11082
11010 FOR I = 1 TO LH STEP 3:A$ = MID$ (CF$,I,1):PU% = 0
11012 IF A$ = "*" THEN RD%(PN) = PT(PN):I = I +1: IF CA = 5 THEN RD% = 20
11013 IF A$ = "+" THEN PU% = 1:I = I +1
11014 A$ = MID$ (CF$,I,1):I = I +1
11015 IF LH -I >1 THEN A1$ = MID$ (CF$,I,3)
11016 IF A$ = "F" THEN 11040
11017 IF A$ = "B" THEN A2$ = MID$ (CF$,I +3,3): GOTO 11032
11019 I = I -1
11020 A$ = MID$ (CF$,I,3): IF PU% = 1 THEN 11050
11021 IF LEFT$(A$,1) = " " OR LEFT$(A$,1) = "0" THEN A$ = RIGHT$(A$, LEN(A$) -1): GOTO 11021
11022 CX$ = CX$ +A$:CC = CC +1: IF A$ = "9" THEN PB% = PB% +1
11024 CX$ = CX$ +",": IF A$ = "520" AND PEEK(8169 +PN) = 0 THEN POKE 8169 +PN,1
11030 NEXT I: GOTO 11080
11032 IF PA% <0 THEN 11039
11033 FOR J = 0 TO PA%: IF A1$ = FC$(PN,J) THEN J = 50: NEXT J:A1$ = A2$:I = I +3: GOTO 11040
11035 NEXT J
11039 I = I +3: GOTO 11030
11040 IF PA% <0 THEN 11046
11042 FOR K = 0 TO PA%: IF A1$ = FC$(PN,K) THEN K = 50
11044 NEXT K: IF K >49 THEN 11020
11046 PA% = PA% +1:FC$(PN,PA%) = A1$: GOTO 11020
11050 IF PB% <0 THEN H = 0: GOTO 11055
11052 FOR H = 0 TO PB%: IF FP$(PN,H) = A$ THEN H = 50
11054 NEXT H
11055 IF H <50 THEN PB% = PB% +1:FP$(PN,PB%) = A$
11056 GOTO 11021
11080 IF LEN(CX$) <1 THEN CX$ = "99":CC = 1: GOTO 11082
11081 CX$ = LEFT$(CX$, LEN(CX$) -1)
11082 IF LEFT$(CX$,1) = "0" THEN CX$ = RIGHT$(CX$, LEN(CX$) -1): GOTO 11082
12195 PRINT "REVIEW THE CASE HISTORY. BE SURE": HTAB 5: PRINT "YOU HAVE ENOUGH INFORMATION. IF": HTAB 5: PRINT "YOUR SOLUTION IS INCOMPLETE, YOU": HTAB 5: PRINT "ARE OFF THE CASE."
12197 VTAB 16: PRINT SPC( 4)"TO SHARE YOUR SOLUTION, TYPE: Y": PRINT SPC( 4)"TO RETURN TO THE GAME, TYPE: N ";:HT = 38: GOSUB 12951
12198 IF G$ = "N" THEN RETURN
12199 VTAB 10:T = 10: GOSUB 12165
12200 VTAB 10: HTAB 10: PRINT "EXPLAIN YOUR SOLUTION": HTAB 10: PRINT "TO YOUR RIVAL SLEUTHS.": HTAB 10: PRINT "THEN, PRIVATELY READ": HTAB 10: PRINT "THE OFFICIAL SOLUTION.": PRINT : PRINT : PRINT
12210 FOR T = 1 TO 2500: NEXT : HTAB 5: PRINT "IS YOUR SOLUTION BOTH COMPLETE": HTAB 13: PRINT "AND ACCURATE?": PRINT : PRINT : HTAB 13: PRINT "TYPE Y OR N: ";:HT = 26: GOSUB 12951
12260 VTAB 8:T = 14: GOSUB 12165: IF G$ = "Y" THEN 12390
12350 SPEED= 130: GOSUB 12940: FOR T = 1 TO 250: NEXT : PRINT : FOR T = 1 TO 250: NEXT : PRINT : RETURN
12380 PRINT : GOTO 12911
12390 IF CA = 4 AND PW%(PN) <2 THEN VTAB 10: HTAB 7: PRINT "YOU DID NOT SATISFY ALL OF": HTAB 6: PRINT "CHIEF SABELLICO'S CONDITIONS.": GOSUB 12912: GOTO 12262
12400 T = CA -1:TR = INT(T/4):TF = CA -4 *TR:TR = TR +38